#include <util/MSingletonFactory.h>
#include <util/HttpUriRegistrar.h>

using namespace std;

MSingletonFactory::MSingletonFactory()
{
    // 注册uri映射管理器
    registeredSingleton<HttpUriRegistrar>("HttpUriRegistrar");
}

MSingletonFactory *MSingletonFactory::getMFactory()
{
    static MSingletonFactory factory;
    return &factory;
}
